public class GraphicsTest {
    public static void main(String[] args) {
    Graphics A=new Circle("圆",2);
    Graphics B=new Rectangle("矩形",5,6);
    Graphics C=new Triangle("三角形",3,4,5);
    A.area=A.areaCalculate();
    A.circumference=A.circumCalculate();
    A.show();
    B.area=B.areaCalculate();
    B.circumference=B.circumCalculate();
    B.show();
    C.area=C.areaCalculate();
    C.circumference=C.circumCalculate();
    C.show();
    }
}